* {
  margin: 0;
  padding: 0;
}
body {
  width: 100vw;
  height: 100vh;
  color: #000000;
  background-color: #f8f2f1;
}
li {
	list-style: none;
}
a {
	text-decoration: none;
}
.l-f {
  display: flex;
  align-items: center;
}
.l-column {
	flex-direction: column;
}
.l-row-c {
	justify-content: center;
}
.l-row-sb {
	justify-content: space-between;
}
.l-row-ad {
	justify-content: space-around;
}
.l-row-start {
	justify-content: flex-start;
}
.l-row-end {
	justify-content: flex-end;
}
.l-col-c {
	align-items: center;
}
.l-col-start {
	align-items: flex-start;
}
.l-col-end {
	align-items: flex-end;
}
.l-col-stretch {
	align-items: stretch;
}
.l-wrap  {
	flex-wrap: wrap;
}
.l-nowrap {
	white-space: nowrap;
}
.l-w100 {
	width: 100%;
}
.l-h100 {
	height: 100%;
}
.l-min-h {
	min-height: 0
}

// margin
@for $i from 1 through 100 {
	.l-mg#{$i} {margin: 1px * $i;}
}
// margin 生成4个方向
@each $m in top,left,right,bottom {
	@for $i from 1 through 100 {
		.l-mg-#{$m}#{$i} {margin-#{$m}: 1px * $i;}
	}
}

// padding
@for $i from 1 through 100 {
	.l-pd#{$i} {
		padding: 1px * $i;
		box-sizing: border-box;
		}
}

// padding 生成4个方向
@each $m in top,left,right,bottom {
	@for $i from 1 through 100 {
		.l-pd-#{$m}#{$i} {
			padding-#{$m}: 1px * $i;
      box-sizing: border-box;
		}
	}
}

// flex 比例
@for $i from 1 through  12 {
	.l-f#{$i} {flex: $i}
}
// 超出行数，自动显示行尾省略号，最多5行
// 来自uView的温馨提示：当您在控制台看到此报错，说明需要在App.vue的style标签加上【lang="scss"】
@for $i from 1 through 5 {
	.l-line#{$i} {
		// vue下，单行和多行显示省略号需要单独处理
		@if $i == '1' {
			overflow: hidden;
			white-space: nowrap;
			text-overflow: ellipsis;
		} @else {
			overflow: hidden;
			text-overflow: ellipsis;
			display: -webkit-box!important;
			word-break: break-all;
			-webkit-line-clamp: $i;
			-webkit-box-orient: vertical!important;
		}
	}
}

@function vw($px) {
  @return ($px / 1920) * 100vw;
}

/* 垂直滚动条样式 */
/* 宽度 */
::-webkit-scrollbar {
    width: 4px;
	height: 4px;
    border-radius: 2px;
}

/* 背景 */
::-webkit-scrollbar-track {
    // background: #cccccc;
}

/* 滑块 */
::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #66ffff, #2a5184);
}
.l-min-h {
	min-height: 0;
}
.l-min-w {
	min-width: 0;
}
.l-table {
	min-height: 30vh;
}
// 地图
.amap-marker-label {
	background-color: transparent;
	border: none;
}
.marker_label {
	font-size: 13px;
	color: #ffffff;
	background-color: rgb(52, 77, 141,.5);
	padding: 4px 8px;
	box-sizing: border-box;
	border-radius: 4px;
}
@media screen and (max-width: 1600px) {
	.marker_label {
		font-size: 11px;
		padding: 2.6px 5.5px;
		border-radius: 2.6px;
		line-height: 10px;
	}
	.amap-toolbar span {
		font-size: 14px;
		width: 20px;
		height: 20px;
		line-height: 20px;
	}
	// 排名轮播
	.dv-scroll-board .header {
        font-size: 10px !important;
    }
    .dv-scroll-board .rows .row-item {
        font-size: 10px !important;
    }
}
@media screen and (min-width: 2561px) { 
	.marker_label {
		font-size: 26px;
		padding: 8px 16px;
		border-radius: 8px;
		line-height: 28px;
	}
	.amap-toolbar span {
		font-size: 40px;
		width: 60px;
		height: 60px;
		line-height: 60px;
	}
	// 排名轮播
	.dv-scroll-board .header {
        font-size: 28px !important;
    }
    .dv-scroll-board .rows .row-item {
        font-size: 28px !important;
    }
	
}